package cn.neusoft.mapper;

import cn.neusoft.domain.Statistics;
import cn.neusoft.query.BaseQuery;

import java.util.Date;
import java.util.List;

public interface StatisticsMapper {

    // 得到一定时间段内的每种商品的订购数量
    List<Statistics> getCommodityOrderQuantityInTimeRange(BaseQuery query);

    List<Statistics> getCommodityOrderReturnQuantityInTimeRange(BaseQuery query);

    List<Statistics> getTotalOrderByDay();

    List<Statistics> getTotalOrderByMonth();

    List<Statistics> getOpByDay();

    List<Statistics> getOpByMonth();

    List<Statistics> getOpByAll();

    List<Statistics> getStorage();

    List<String> getOrderByProvince();

    List<String> getNormalOrderByMonth();

    List<String> getReturnOrderByMonth();

    List<String> getExchangeOrderByMonth();
}
